package com.jiao.mydd.service.impl;

import com.jiao.mydd.dao.BooksMapper;
import com.jiao.mydd.pojo.Books;
import com.jiao.mydd.service.BooksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BooksServiceImpl implements BooksService {


    @Autowired
    BooksMapper booksMapper;

    @Override
    public Books getbook(int id) {
        return booksMapper.getbook(id);
    }
}
